package com.Darkra1Zzz.service;

import com.Darkra1Zzz.entity.PageInfo;
import com.Darkra1Zzz.entity.Song;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SongService {
    public int updatePlaycountByid(
            @Param("playcount") int playcount, @Param("songid") int songid);//根据歌曲id修改播放数
    public List<Song> querySongs();//查询最新单曲，按时间晚-早排序

    public PageInfo<Song> querySongsByCondition(Song song, Integer pageIndex, Integer pageSize);
}